﻿using IMES.Common.Dtos;
using MediatR;

namespace GlennQuigmire.API.Application.Commands
{
    public class OutboundOrderCreateCommand:IRequest<Result>
    {
        /// <summary>
        /// 出库单号
        /// </summary>
        public string? OutboundOrderNumber { get; set; }
        /// <summary>
        /// 出库类型id
        /// </summary>
        public int OutboundOrderTypeId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 出库时间
        /// </summary>
        public DateTime OutbroundOrderDate { get; set; }
        /// <summary>
        /// 缩略图地址
        /// </summary>
        public string? ImageUrl { get; set; }
        /// <summary>
        /// 附件地址
        /// </summary>
        public string? FileUrl { get; set; }
        /// <summary>
        /// 审核状态(1:待审核 2:审核通过 3:审核拒绝；4：审核驳回)
        /// </summary>
        public int ExamineStatus { get; set; }
        /// <summary>
        /// 审核备注
        /// </summary>
        public string? ExamineRemark { get; set; }
        public int CreateId { get; set; }
        public string CreateName { get; set; }

        public List<OutboundOrderCreateDto> OutboundOrderCreateDtos { get; set; }




    }


    public class OutboundOrderCreateDto
    {
        public int ProductId { get; set; }
        public int OutNum { get; set; }
    }



}
